/**
 * Copyright (c) 2012-2018 Red Hat, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *   Red Hat, Inc. - initial API and implementation
 */
@eval dropdownListBackground org.eclipse.che.ide.api.theme.Style.getDropdownListBackground();
@eval dropdownListExecLabelColor org.eclipse.che.ide.api.theme.Style.theme.getDropdownListExecLabelColor();
@eval dropdownListExecLabelBackground org.eclipse.che.ide.api.theme.Style.theme.getDropdownListExecLabelBackground();

.toolbarButton {
    float: left;
    line-height: 20px;
    margin-left: 15px;
}

.processesListExecLabel {
    float: left;
    border-left: commandsToolbarProcessesLabelBorder;
    border-top: commandsToolbarProcessesLabelBorder;
    border-bottom: commandsToolbarProcessesLabelBorder;
    border-right: 0;
    font-family: mainFontFamily;
    font-size: 9pt;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    text-align: center;
    color: dropdownListExecLabelColor;
    width: 44px;
    height: 22px;
    line-height: 22px;
    background: dropdownListExecLabelBackground;
    cursor: default;
}

.processesListLoader {
    float: left;
    border-left: commandsToolbarProcessesLabelBorder;
    border-top: commandsToolbarProcessesLabelBorder;
    border-bottom: commandsToolbarProcessesLabelBorder;
    border-right: 0;
    width: 44px;
    height: 22px;
    cursor: default;
    display: none;
    background: commandsToolbarProcessesLabelBackground;
}

.processesListLoaderBar1,
.processesListLoaderBar2,
.processesListLoaderBar3 {
    background-color: #4a90e2;
    width: 2px;
    height: literal("calc(100% - 4px)");
    display: inline-block;
    margin-left: 2px;
    margin-top: 2px;
    transform: scaleY(0.4);
    animation: stretchAnimation 1.2s infinite ease-in-out;
}

.processesListLoaderBar1 {
    margin-left: 16px;
}

.processesListLoaderBar2 {
    animation-delay: 0.1s;
}

.processesListLoaderBar3 {
    animation-delay: 0.2s;
}

@keyframes stretchAnimation {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4);
        transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1.0);
        transform: scaleY(1.0);
    }
}

.processWidgetText {
    font-family: mainFontFamily;
    font-size: fontSize;
}

.processWidgetMachineNameLabel {
    float: left;
    color: commandsToolbarMachineNameColor;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: literal("calc(100% - 50px)");
}

.processWidgetCommandNameLabel {
    float: left;
    color: commandsToolbarCommandNameColor;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: literal("calc(100% - 200px)");
}

.processWidgetPidLabel {
    float: right;
    margin: 0 10px 0 0;
}

.processWidgetActionButton {
    float: right;
    outline: none;
    color: #4eabff;
}

.previewUrlWidget {
    color: #4eabff;
    font-size: 18px;
}

.previewUrlWidget:active {
    color: #235c9e;
}

.loaderPanel {
    display: none;
    position: relative;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 22px;
    background-color: dropdownListBackground;
    border: solid 1px #2b3242;
    overflow: hidden;
}

.loaderPanelLabel {
    position: absolute;
    left: 5px;
    top: 0px;
    right: 5px;
    bottom: 4px;
    box-sizing: border-box;
    font-family: "Droid Sans Mono", monospace;
    font-size: 11px;
    line-height: 22px;
    text-align: left;
    color: #e3e3e3;
    cursor: default;
}

.loaderPanelProgressBar {
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 2px;
    background-color: #4f7ed3;
    box-sizing: border-box;
    width: 0%;
    transition: width ease-in-out 0.5s;
}
